package com.wuhuiyue.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-11
 */
@Getter
@Setter
@TableName("tb_software")
public class Software implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "软件名称")
    private String name;

    /**
     * 主要群体
     */
    @ExcelIgnore
    private Integer main;
    @ExcelProperty(value = "软件网址")
    private String url;

    /**
     * 支持平台
     */
    @ExcelIgnore
    private String platform;
    @ExcelProperty(value = "时间",format = "yyyy-MM-dd")
    private Date created;
    @ExcelProperty(value = "邮箱")
    private String email;
    @ExcelProperty(value = "电话")
    private String tel;

    /**
     * 分组id
     */
    @ExcelIgnore
    private Integer gid;

    /**
     * 公司id
     */
    @ExcelIgnore
    private Integer fid;


}
